package com.kc.business.service.impl;

import com.kc.business.domain.BizPublicPlaceType;
import com.kc.business.mapper.BizPublicPlaceTypeMapper;
import com.kc.business.service.IBizPublicPlaceTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
/**
 * 公共场所类别service impl
 */
@Service
public class BizPublicPlaceTypeServiceImpl implements IBizPublicPlaceTypeService {
    @Resource
    private BizPublicPlaceTypeMapper bizPublicPlaceTypeMapper;
    @Override
    public List<BizPublicPlaceType> getList(BizPublicPlaceType bizPublicPlaceType) {
        bizPublicPlaceType.setStatus(1);
        return bizPublicPlaceTypeMapper.select(bizPublicPlaceType);
    }
}
